import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    cityInfo:"",
    buylist:[],
    total:0
  },
  mutations: {
    topay(state,obj){
      state.buylist = obj.buylist
      state.total = obj.total
    },
    setInfo(state,info){
      state.cityInfo = info
    }
  },
  actions: {
  },
  modules: {
  }
})
